<!-- Star of Main -->
<div class="main mt10" >
    <!-- Star of area2s -->
    <div class="area2s">
    	<!-- Star of Col1 -->
    	<div class="col1">
			<div class="breadCrumb">
				<div class="fl"><span class="cRed fb">当前位置：</span> <a href="<?php echo CHtml::normalizeUrl(array('/')) ?>">首页</a>&nbsp;&rsaquo;&nbsp;<strong>个人中心</strong></div>
            </div>    
			<div class="member mt10">
				<?php $this->widget('ProfileLeftNav', array('user' => $user)) ?>
				<div class="memberMain">
					<div class="memberMain-inner">
						<div class="merber-title"><h2 class="cRed"><span class="mem-icon mem-data"></span><?php echo $titlePrefix ?></h2><?php if($user->bbsMemberFields !== null) : ?><span class="title-intro"><?php echo htmlspecialchars($user->bbsMemberFields->bio) ?></span><?php endif ?></div>
						<div class="member-img"><img src="<?php echo $user->getAvatarUrl('large') ?>" alt="<?php echo $user->username.'的头像' ?>" title="<?php echo $user->username.'的头像' ?>" /></div>
						<table cellpadding="0" cellspacing="0" border="0">
							<tr>
								<td class="row-left">用&nbsp;&nbsp;户&nbsp;&nbsp;名：</td>
								<td class="row-right"><span class="cOrg1 fb"><?php echo $user->username ?></span></td>
							</tr>
							<tr>
								<td class="row-left">电子邮件：</td>
								<td class="row-right"><a href="mailto: <?php echo $user->email ?>" title="<?php echo '给'.$user->username.'发送电子邮件' ?>"><?php echo $user->email ?></a></td>
							</tr>
							<?php if($user->bbs !== null && $user->bbs->gender != BbsMembers::GENDER_UNSET) : ?>
							<tr>
								<td class="row-left">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
								<td class="row-right"><?php if($user->bbs !== null) : ?><?php echo $user->bbs->getGenderText() ?><?php endif ?></td>
							</tr>
							<?php endif ?>
							<tr>
								<td class="row-left">生&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日：</td>
								<td class="row-right"><?php if($user->bbs !== null) : ?><?php echo $user->bbs->bday ?><?php endif ?></td>
							</tr>
							<tr>
								<td class="row-left">来&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;自：</td>
								<td class="row-right"><?php if($user->bbsMemberFields !== null) : ?><?php echo htmlspecialchars($user->bbsMemberFields->location) ?><?php endif ?></td>
							</tr>
							<tr>
								<td class="row-left">Q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Q：</td>
								<td class="row-right"><?php if($user->bbsMemberFields !== null) : ?><?php echo $user->bbsMemberFields->qq ?><?php endif ?></td>
							</tr>
							<tr>
								<td class="row-left">个人网站：</td>
								<td class="row-right"><?php if($user->bbsMemberFields !== null) : ?><a href="<?php echo $user->bbsMemberFields->site ?>" title="<?php echo $user->username.'的个人网站' ?>" target="_blank"><?php echo $user->bbsMemberFields->site ?></a><?php endif ?></td>
							</tr>
							<?php if($user->getIsSelf()) : ?>
							<tr>
								<td class="row-left">&nbsp;</td>
								<td class="row-right"><a class="btn-gray edit-data" href="<?php echo CHtml::normalizeUrl(array('/users/editprofile')) ?>"><span>修改我的个人资料</span></a></td>
							</tr>
							<?php endif ?>
						</table>
					</div>
				</div>
			</div>
        </div>
        <!-- End of Col1 -->
        <!-- Star of Col2 -->
        <div class="col2">
			<?php $this->widget('SearchBox') ?>
			<?php $this->widget('MustKnow') ?>
			<?php $this->widget('HotPosts') ?>
        </div>
        <!-- End of Col2 -->
    </div><!-- End of area3s -->
</div>
<!-- End of Main --> 
